package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lx.nursing.domain.Elder;
import org.lx.nursing.domain.NursingTask;
import org.lx.nursing.dto.NursingTaskDto;
import org.lx.nursing.vo.NursingTaskVo;

import java.util.List;

public interface INursingTaskService extends IService<NursingTask> {
    NursingTaskVo selectNursingTaskById(Long id);

    List<NursingTaskVo> selectNursingTaskList(NursingTaskDto dto);

    int insertNursingTask(NursingTask nursingTask);

    int updateNursingTask(NursingTaskDto dto);

    int deleteNursingTaskByIds(Long[] ids);

    int deleteNursingTaskById(Long id);

    void createMonthTask(Elder elder);

    int cancelTask(NursingTaskDto dto);
}
